﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Work05._26
{
    internal class Superman : Animal, IFlyable
    {
        public Superman(string name) : base(name)
        {
            this.Name = name;
        }

        public void Eat() 
        {
            Console.WriteLine("我是{0}，我能打坏人！", base.Name);
        }
        

        public void Fly()
        {
            Console.Write("我能飞" + "\t");
        }

        public void Land()
        {
            Console.Write("我能着陆" + "\t");
        }

        public void TakeOff()
        {
            Console.WriteLine("我能起飞");
        }
    }
}
